#-*- coding:utf-8 -*-

from django.conf.urls import patterns, include, url
from django.contrib.auth.views import login, logout, password_change, password_change_done

urlpatterns = patterns('accounts.views',
    url(r'^login/$',  login, {'template_name':'accounts/SignIn.html', 'redirect_field_name':'redirect_url'}),
    url(r'^logout/?$', logout, {'next_page':'/'}),
    url(r'^check/(?P<username>\w+)/$',  'check'),
    url(r'^profile/$',  'profile'),
    url(r'^signup/step1/$',  'signup_page'),
    url(r'^signup/step2/$',  'signup'),
    url(r'^password/change/$', password_change, {'template_name':'accounts/ProfileChangePassword.html'}),
    url(r'^password/change/done/$', password_change_done, {'template_name':'accounts/ProfileChangePasswordDone.html'}),
)


